package com.zxh.mall.product.feign;

import com.zxh.mall.common.dto.es.SkuESModel;
import com.zxh.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zhengxh
 * @version 1.0
 * @date 2024/4/26 - 04 - 26 - 22:19
 * @description com.zxh.mall.product.feign
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuESModel> skuESModels);
}
